package com.ruoyi.client.domain;

import java.math.BigDecimal;

public class Commission {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String symbol;
    private BigDecimal commissionPrice;
    private Integer num;
    private Integer accountId;
    private Integer state;
    private String sname;
    private BigDecimal trade;

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public BigDecimal getTrade() {
        return trade;
    }

    public void setTrade(BigDecimal trade) {
        this.trade = trade;
    }

    public Commission(Integer id, String symbol, BigDecimal commissionPrice, Integer num, Integer accountId, Integer state) {
        this.id = id;
        this.symbol = symbol;
        this.commissionPrice = commissionPrice;
        this.num = num;
        this.accountId = accountId;
        this.state = state;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Commission{" +
                "id=" + id +
                ", symbol='" + symbol + '\'' +
                ", commissionPrice=" + commissionPrice +
                ", num=" + num +
                ", accountId=" + accountId +
                '}';
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Commission(Integer id, String symbol, BigDecimal commissionPrice, Integer num, Integer accountId) {
        this.id = id;
        this.symbol = symbol;
        this.commissionPrice = commissionPrice;
        this.num = num;
        this.accountId = accountId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public BigDecimal getCommissionPrice() {
        return commissionPrice;
    }

    public Commission() {
    }

    public void setCommissionPrice(BigDecimal commissionPrice) {
        this.commissionPrice = commissionPrice;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }






}
